package org.springframework;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.zp.begin.TestBean;

/**
 * @author zhaorui
 * @Date ${DATE}  ${TIME}
 * @description:
 */
public class Main {
	public static void main(String[] args)
	{
		AnnotationConfigApplicationContext context =
				new AnnotationConfigApplicationContext();
		context.register(TestBean.class);
		context.refresh();
		TestBean bean = context.getBean(TestBean.class);

		System.out.println("Hello world!");
	}
}